using JTZY.Model.Pay.Dto;
using JTZY.Model.Pay;
using Microsoft.AspNetCore.Mvc;

namespace JTZY.Service.Pay.IPayService
{
    /// <summary>
    /// 支付单表service接口
    /// </summary>
    public interface ICorecmsbillpaymentsService : IBaseService<Corecmsbillpayments>
    {
        PagedInfo<CorecmsbillpaymentsDto> GetList(CorecmsbillpaymentsQueryDto parm);

        Corecmsbillpayments GetInfo(string PaymentId);


        Corecmsbillpayments AddCorecmsbillpayments(Corecmsbillpayments parm);
        int UpdateCorecmsbillpayments(Corecmsbillpayments parm);
        Task<Corecmsbillpayments> Pay(string orderId, string payment_code, long userId, int payment_type, string barCode);
        Task<Corecmsbillpayments> Query(string orderId, string paymentId, long userId, int payment_type);
    }
}
